<template>
    <el-menu router mode="horizontal" default_active="/">
    <el-menu-item index="/">设置</el-menu-item>
    <el-menu-item index="/debug">调试</el-menu-item>
    <!-- <el-menu-item index="/status">状态</el-menu-item>
    <el-menu-item index="/motor">控制</el-menu-item> -->
  </el-menu>
  <RouterView v-slot="{ Component }">
    <KeepAlive>
      <component :is="Component" />
    </KeepAlive>
  </RouterView>
</template>

<script setup lang="ts">

</script>
